<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${article.title }</title>
<link href="<%=request.getContextPath() %>/resources/css/list.css" rel="stylesheet">
</head>
<body>
	<div class="">
		<div class="">
			<div style="text-align: center;">
				<h1>${article.title }</h1>
			</div>
			<br>
			<div style="float: right;">
				作者：${article.user.getNickname() }&nbsp;&nbsp;&nbsp;&nbsp;
				投稿时间：${article.createDate }&nbsp;&nbsp;&nbsp;&nbsp; 状态：
				<c:if test="${article.status == 'ACCEPT' }">已通过</c:if>
				<c:if test="${article.status == 'UNACCEPT' }">未通过</c:if>
				<c:if test="${article.status == 'UNREAD' }">未审核</c:if>
				&nbsp;&nbsp;&nbsp;&nbsp;
			</div>
		</div>
		<br> <br>
		<div class="content">
			<div>${article.content }</div>
		</div>
		<br> <br> <br>
		<div>
			<a href="<%=request.getContextPath() %>/article/update/${article.id }/ACCEPT"><button class="btn">录用</button></a>
			<a href="<%=request.getContextPath() %>/article/update/${article.id }/UNACCEPT"><button class="btn">不录用</button></a>
		</div>
	</div>

</body>
</html>